package com.example.demo.store.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.store.entity.StorageTbl;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zgq
 * @since 2020-12-07
 */
public interface IStorageTblService extends IService<StorageTbl> {

    /**
     * 扣库存
     * @param amt
     * @return
     */
    int dec(String userId,int amt);
}
